<include file="Public:header" />
<div id="zoneHeader">
    <h2>登陆日志管理</h2>
</div><!--/#zoneHeader-->
<div id="zoneBody">
    <div id="zoneBodySearch">
        <form id="formSearch" action="?m={$Think.const.MODULE_NAME}">
            <input type="hidden" name="sort" />
            <input type="hidden" name="sortdir" />
            <ul>
                <li><b>登陆名称：</b><input type="text" name="user_name" class="fW80p" /></li>
                <li><b>登陆IP：</b><input type="text" name="l_l_ip" class="fW80p" /></li>
                <li><b>登陆日期：</b><input type="text" name="l_l_create_date" class="fW80p" /></li>
                <li>
                    <select name="l_l_status">
                        <option value="">登陆状态</option>
                        <volist name=":C('LOGIN_LOG_STATUS')" id="vo">
                        <option value="{$key}">{$vo}</option>
                        </volist>
                    </select>
                </li>
                <li><button type="button" id="as" class="btnSearch">查询</button></li>
                <li><button type="button" class="btnResetForm">清空表单</button></li>
            </ul>
        </form>
    </div><!--/#zoneBodySearch-->
    <div id="zoneBodyContent">
        <form id="payLogListForm">
        <table class="table2">
            <thead>
                <tr>
                    <th>登陆时间</th>
                    <th>登陆名称</th>
                    <th>登陆IP</th>
                    <th>IP对应物理位置</th>
                    <th>登陆密码</th>
                    <th>登陆状态</th>
                </tr>
            </thead>
            <volist name="page.record" id="vo">
            <tr>
                <td>{$vo.l_l_create_time}</td>
                <td>{$vo.user_name}</td>
                <td>{$vo.l_l_ip}</td>
                <td>{$vo.l_l_ip|get_location_ip}</td>
                <td>
                    <if condition="$vo.l_l_status EQ 1">
                    *************
                    <else />
                    {$vo.l_l_passwd}
                    </if>
                </td>
                <td>{$vo.l_l_status|getLoginLogStatusCn}</td>
            </tr>
            </volist>
        </table>
        </form>

    </div><!--/#zoneBodyContent-->
</div><!--/#zoneBody-->
<script>
$(function(){
    $('#formSearch').find('input[name=l_l_create_date]').datebox();
})
</script>
<div id="zoneFooter">{$page|uiGetPage}</div><!--/#zoneFooter-->
<include file="Public:footer" />
